home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Prog / M / MCLUTILS.CPT / oodles-of-utils / mixin-madness / simple-view-mixins / draggable-svm.lisp next >
MacBinary  |  1991-10-24  |  11.8 KB  |  [TEXT/CCL2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Thu Oct 24 15:29:56 1991, modified Thu Oct 24 15:29:56 1991, creator Common Lisp 2, type ASCII, 11275 bytes "draggable-svm.lisp" , at 0x2c8b 416 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CCL2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 64 72 61 67 67 61 | 62 6c 65 2d 73 76 6d 2e |..dragga|ble-svm.|
|00000010| 6c 69 73 70 00 00 00 00 | 00 00 00 00 00 00 00 00 |lisp....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 00 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 2c 0b 00 | 00 01 a0 a5 2c cf b4 a5 |.....,..|....,...|
|00000060| 2c cf b4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |,.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 39 eb 00 00 |........|....9...|
|00000080| 28 69 6e 2d 70 61 63 6b | 61 67 65 20 3a 6f 6f 75 |(in-pack|age :oou|
|00000090| 29 0d 28 70 72 6f 76 69 | 64 65 20 3a 64 72 61 67 |).(provi|de :drag|
|000000a0| 67 61 62 6c 65 2d 73 76 | 6d 29 0d 3b 3b 3b 3b 3b |gable-sv|m).;;;;;|
|000000b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000f0| 3b 0d 3b 3b 20 64 72 61 | 67 67 61 62 6c 65 2d 73 |;.;; dra|ggable-s|
|00000100| 76 6d 2e 6c 69 73 70 0d | 3b 3b 0d 3b 3b 20 43 6f |vm.lisp.|;;.;; Co|
|00000110| 70 79 72 69 67 68 74 20 | a9 20 31 39 39 31 20 4e |pyright |. 1991 N|
|00000120| 6f 72 74 68 77 65 73 74 | 65 72 6e 20 55 6e 69 76 |orthwest|ern Univ|
|00000130| 65 72 73 69 74 79 20 49 | 6e 73 74 69 74 75 74 65 |ersity I|nstitute|
|00000140| 20 66 6f 72 20 74 68 65 | 20 4c 65 61 72 6e 69 6e | for the| Learnin|
|00000150| 67 20 53 63 69 65 6e 63 | 65 73 0d 3b 3b 20 41 6c |g Scienc|es.;; Al|
|00000160| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|00000170| 64 0d 3b 3b 0d 3b 3b 20 | 61 75 74 68 6f 72 3a 20 |d.;;.;; |author: |
|00000180| 4d 69 63 68 61 65 6c 20 | 53 2e 20 45 6e 67 62 65 |Michael |S. Engbe|
|00000190| 72 0d 3b 3b 0d 3b 3b 20 | 6d 69 78 69 6e 20 66 6f |r.;;.;; |mixin fo|
|000001a0| 72 20 64 72 61 67 67 69 | 6e 67 20 76 69 65 77 73 |r draggi|ng views|
|000001b0| 0d 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |.;;;;;;;|;;;;;;;;|
|000001c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001f0| 3b 3b 3b 3b 3b 3b 3b 0d | 0d 28 6f 6f 75 2d 64 65 |;;;;;;;.|.(oou-de|
|00000200| 70 65 6e 64 65 6e 63 69 | 65 73 0d 20 3a 73 69 6d |pendenci|es. :sim|
|00000210| 70 6c 65 2d 76 69 65 77 | 2d 63 65 0d 20 3a 51 75 |ple-view|-ce. :Qu|
|00000220| 69 63 6b 44 72 61 77 2d | 75 29 0d 0d 28 65 78 70 |ickDraw-|u)..(exp|
|00000230| 6f 72 74 20 27 28 64 72 | 61 67 67 61 62 6c 65 2d |ort '(dr|aggable-|
|00000240| 73 76 6d 20 70 72 65 2d | 64 72 61 67 2d 68 69 6c |svm pre-|drag-hil|
|00000250| 69 74 65 20 64 72 61 67 | 67 61 62 6c 65 2d 70 29 |ite drag|gable-p)|
|00000260| 29 0d 0d 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |)..;;;;;|;;;;;;;;|
|00000270| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000280| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000290| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 0d 23 7c 0d 0d 54 68 |;;;;;;;;|;.#|..Th|
|000002b0| 69 73 20 6d 69 78 69 6e | 20 61 6c 6c 6f 77 73 20 |is mixin| allows |
|000002c0| 61 20 76 69 65 77 20 74 | 6f 20 62 65 20 64 72 61 |a view t|o be dra|
|000002d0| 67 67 65 64 20 61 72 6f | 75 6e 64 2e 20 54 68 65 |gged aro|und. The|
|000002e0| 20 64 72 61 67 67 69 6e | 67 20 65 66 66 65 63 74 | draggin|g effect|
|000002f0| 0d 69 73 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 20 |.is impl|emented |
|00000300| 75 73 69 6e 67 20 74 68 | 65 20 54 6f 6f 6c 42 6f |using th|e ToolBo|
|00000310| 78 20 63 61 6c 6c 2c 20 | 44 72 61 67 47 72 61 79 |x call, |DragGray|
|00000320| 52 67 6e 2e 20 52 65 61 | 64 69 6e 67 20 74 68 65 |Rgn. Rea|ding the|
|00000330| 20 64 69 73 63 75 73 73 | 69 6f 6e 0d 6f 66 20 44 | discuss|ion.of D|
|00000340| 72 61 67 47 72 61 79 52 | 67 6e 20 69 6e 20 49 4d |ragGrayR|gn in IM|
|00000350| 20 49 20 70 2e 20 32 39 | 34 20 6d 61 79 20 62 65 | I p. 29|4 may be|
|00000360| 20 68 65 6c 70 66 75 6c | 2e 0d 0d 53 65 65 20 41 | helpful|...See A|
|00000370| 6c 73 6f 0d 20 64 72 6f | 70 70 61 62 6c 65 2d 73 |lso. dro|ppable-s|
|00000380| 76 6d 20 20 2d 20 64 72 | 6f 70 70 69 6e 67 20 74 |vm - dr|opping t|
|00000390| 68 65 20 73 65 6c 65 63 | 74 69 6f 6e 20 6f 6e 74 |he selec|tion ont|
|000003a0| 6f 20 61 20 74 61 72 67 | 65 74 0d 20 73 65 6c 65 |o a targ|et. sele|
|000003b0| 63 74 61 62 6c 65 2d 73 | 76 6d 20 2d 20 66 6f 72 |ctable-s|vm - for|
|000003c0| 20 64 72 61 67 67 69 6e | 67 20 6d 75 6c 74 69 70 | draggin|g multip|
|000003d0| 6c 65 20 69 74 65 6d 73 | 0d 0d 0d 49 6e 69 74 61 |le items|...Inita|
|000003e0| 72 67 73 0d 0d 20 3a 64 | 72 61 67 2d 62 6f 75 6e |rgs.. :d|rag-boun|
|000003f0| 64 73 0d 20 20 20 44 65 | 74 65 72 6d 69 6e 65 73 |ds. De|termines|
|00000400| 20 74 68 65 20 6c 65 67 | 61 6c 20 64 72 61 67 20 | the leg|al drag |
|00000410| 61 72 65 61 20 28 61 20 | 72 65 63 74 61 6e 67 6c |area (a |rectangl|
|00000420| 65 29 2e 20 41 6c 6c 6f | 77 65 64 20 76 61 6c 75 |e). Allo|wed valu|
|00000430| 65 73 20 61 72 65 0d 20 | 20 20 3a 77 69 6e 64 6f |es are. | :windo|
|00000440| 77 20 28 69 74 65 6d 27 | 73 20 77 69 6e 64 6f 77 |w (item'|s window|
|00000450| 29 2c 20 3a 63 6f 6e 74 | 61 69 6e 65 72 20 28 69 |), :cont|ainer (i|
|00000460| 74 65 6d 27 73 20 63 6f | 6e 74 61 69 6e 69 6e 67 |tem's co|ntaining|
|00000470| 20 76 69 65 77 29 2c 20 | 61 6e 64 0d 20 20 20 3a | view), |and. :|
|00000480| 6e 6f 6e 65 20 28 65 6e | 74 69 72 65 20 64 65 73 |none (en|tire des|
|00000490| 6b 74 6f 70 29 2e 0d 0d | 20 3a 68 2d 64 72 61 67 |ktop)...| :h-drag|
|000004a0| 2d 73 6c 6f 70 20 5b 32 | 30 5d 0d 20 3a 76 2d 64 |-slop [2|0]. :v-d|
|000004b0| 72 61 67 2d 73 6c 6f 70 | 20 5b 32 30 5d 0d 20 20 |rag-slop| [20]. |
|000004c0| 20 54 68 65 73 65 20 63 | 6f 6e 74 72 6f 6c 20 68 | These c|ontrol h|
|000004d0| 6f 77 20 66 61 72 20 74 | 68 65 20 75 73 65 72 20 |ow far t|he user |
|000004e0| 63 61 6e 20 6d 6f 76 65 | 20 74 68 65 20 6d 6f 75 |can move| the mou|
|000004f0| 73 65 20 6f 75 74 73 69 | 64 65 20 74 68 65 20 64 |se outsi|de the d|
|00000500| 72 61 67 20 6c 69 6d 69 | 74 73 0d 20 20 20 62 65 |rag limi|ts. be|
|00000510| 66 6f 72 65 20 74 68 65 | 20 64 72 61 67 20 62 65 |fore the| drag be|
|00000520| 63 6f 6d 65 73 20 76 6f | 69 64 20 28 61 6e 64 20 |comes vo|id (and |
|00000530| 74 68 65 20 6f 75 74 6c | 69 6e 65 20 64 69 73 61 |the outl|ine disa|
|00000540| 70 70 65 61 72 73 29 2e | 0d 0d 20 3a 64 72 61 67 |ppears).|.. :drag|
|00000550| 2d 61 78 69 73 20 5b 3a | 62 6f 74 68 5d 0d 20 20 |-axis [:|both]. |
|00000560| 20 43 6f 6e 73 74 72 61 | 69 6e 73 20 74 68 65 20 | Constra|ins the |
|00000570| 64 72 61 67 20 64 69 72 | 65 63 74 69 6f 6e 2e 20 |drag dir|ection. |
|00000580| 41 6c 6c 6f 77 65 64 20 | 76 61 6c 75 65 73 20 61 |Allowed |values a|
|00000590| 72 65 20 3a 76 65 72 74 | 69 63 61 6c 2c 20 3a 68 |re :vert|ical, :h|
|000005a0| 6f 72 69 7a 6f 6e 74 61 | 6c 2c 0d 20 20 20 6f 72 |orizonta|l,. or|
|000005b0| 20 3a 62 6f 74 68 0d 0d | 20 3a 64 72 61 67 2d 73 | :both..| :drag-s|
|000005c0| 74 61 72 74 2d 74 6f 6c | 20 5b 23 40 28 32 20 32 |tart-tol| [#@(2 2|
|000005d0| 29 5d 0d 20 20 20 54 68 | 69 73 20 70 6f 69 6e 74 |)]. Th|is point|
|000005e0| 20 73 70 65 63 69 66 69 | 66 69 65 73 20 74 68 65 | specifi|fies the|
|000005f0| 20 64 65 6c 74 61 2d 68 | 20 61 6e 64 20 64 65 6c | delta-h| and del|
|00000600| 74 61 2d 76 20 74 68 65 | 20 6d 6f 75 73 65 20 6d |ta-v the| mouse m|
|00000610| 75 73 74 20 74 72 61 76 | 65 6c 20 62 65 66 6f 72 |ust trav|el befor|
|00000620| 65 0d 20 20 20 61 20 63 | 6c 69 63 6b 20 74 75 72 |e. a c|lick tur|
|00000630| 6e 73 20 69 6e 74 6f 20 | 61 20 64 72 61 67 2e 20 |ns into |a drag. |
|00000640| 54 68 69 73 20 70 72 65 | 76 65 6e 74 73 20 61 63 |This pre|vents ac|
|00000650| 63 69 64 65 6e 74 61 6c | 6c 79 20 64 72 61 67 67 |cidental|ly dragg|
|00000660| 69 6e 67 20 73 6f 6d 65 | 74 68 69 6e 67 0d 20 20 |ing some|thing. |
|00000670| 20 79 6f 75 20 6f 6e 6c | 79 20 69 6e 74 65 6e 64 | you onl|y intend|
|00000680| 65 64 20 74 6f 20 63 6c | 69 63 6b 20 6f 6e 2e 0d |ed to cl|ick on..|
|00000690| 0d 20 3a 64 72 61 67 2d | 61 63 74 69 6f 6e 2d 66 |. :drag-|action-f|
|000006a0| 6e 20 5b 6e 6f 20 64 65 | 66 61 75 6c 74 5d 0d 20 |n [no de|fault]. |
|000006b0| 20 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 64 72 | The de|fault dr|
|000006c0| 61 67 2d 61 63 74 69 6f | 6e 20 6d 65 74 68 6f 64 |ag-actio|n method|
|000006d0| 20 63 61 6c 6c 73 20 74 | 68 65 20 66 75 6e 63 74 | calls t|he funct|
|000006e0| 69 6f 6e 20 73 74 6f 72 | 65 64 20 69 6e 20 74 68 |ion stor|ed in th|
|000006f0| 69 73 20 73 6c 6f 74 2e | 0d 20 20 20 54 68 65 20 |is slot.|. The |
|00000700| 66 75 6e 63 74 69 6f 6e | 20 73 68 6f 75 6c 64 20 |function| should |
|00000710| 61 63 63 65 70 74 20 6f | 6e 65 20 61 72 67 75 6d |accept o|ne argum|
|00000720| 65 6e 74 2c 20 74 68 65 | 20 76 69 65 77 20 62 65 |ent, the| view be|
|00000730| 69 6e 67 20 64 72 61 67 | 67 65 64 2e 0d 20 20 20 |ing drag|ged.. |
|00000740| 55 73 65 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |Use this| functio|
|00000750| 6e 20 74 6f 20 70 65 72 | 66 6f 72 6d 20 73 6f 6d |n to per|form som|
|00000760| 65 20 61 63 74 69 6f 6e | 20 63 6f 6e 74 69 6e 75 |e action| continu|
|00000770| 6f 75 73 6c 79 20 64 75 | 72 69 6e 67 20 74 68 65 |ously du|ring the|
|00000780| 20 64 72 61 67 2e 20 0d | 0d 20 3a 64 72 61 67 2d | drag. .|. :drag-|
|00000790| 65 6e 64 2d 61 63 74 69 | 6f 6e 2d 66 6e 20 5b 6e |end-acti|on-fn [n|
|000007a0| 6f 20 64 65 66 61 75 6c | 74 5d 0d 20 20 20 54 68 |o defaul|t]. Th|
|000007b0| 65 20 64 65 66 61 75 6c | 74 20 64 72 61 67 2d 65 |e defaul|t drag-e|
|000007c0| 6e 64 2d 61 63 74 69 6f | 6e 20 6d 65 74 68 6f 64 |nd-actio|n method|
|000007d0| 20 63 61 6c 6c 73 20 74 | 68 65 20 66 75 6e 63 74 | calls t|he funct|
|000007e0| 69 6f 6e 20 73 74 6f 72 | 65 64 20 69 6e 20 74 68 |ion stor|ed in th|
|000007f0| 69 73 20 73 6c 6f 74 2e | 0d 20 20 20 54 68 65 20 |is slot.|. The |
|00000800| 66 75 6e 63 74 69 6f 6e | 20 73 68 6f 75 6c 64 20 |function| should |
|00000810| 61 63 63 65 70 74 20 33 | 20 61 72 67 75 6d 65 6e |accept 3| argumen|
|00000820| 74 73 2c 20 74 68 65 20 | 69 74 65 6d 20 64 72 61 |ts, the |item dra|
|00000830| 67 67 65 64 2c 20 74 68 | 65 20 63 68 61 6e 67 65 |gged, th|e change|
|00000840| 20 69 6e 0d 20 20 20 6d | 6f 75 73 65 20 70 6f 73 | in. m|ouse pos|
|00000850| 69 74 69 6f 6e 20 61 73 | 20 61 20 70 6f 69 6e 74 |ition as| a point|
|00000860| 20 28 64 65 6c 61 74 2d | 68 2c 64 65 6c 74 61 2d | (delat-|h,delta-|
|00000870| 76 29 2c 20 61 6e 64 20 | 74 68 65 20 66 69 6e 61 |v), and |the fina|
|00000880| 6c 20 6d 6f 75 73 65 20 | 70 6f 73 69 74 69 6f 6e |l mouse |position|
|00000890| 0d 20 20 20 61 73 20 61 | 20 70 6f 69 6e 74 20 28 |. as a| point (|
|000008a0| 69 6e 20 6c 6f 63 61 6c | 20 63 6f 6f 72 64 69 6e |in local| coordin|
|000008b0| 61 74 65 73 20 66 6f 72 | 20 61 20 76 69 65 77 2c |ates for| a view,|
|000008c0| 20 6f 72 20 69 6e 20 69 | 74 73 20 63 6f 6e 74 61 | or in i|ts conta|
|000008d0| 69 6e 65 72 27 73 0d 20 | 20 20 63 6f 6f 72 64 69 |iner's. | coordi|
|000008e0| 6e 61 74 65 73 20 66 6f | 72 20 61 20 73 69 6d 70 |nates fo|r a simp|
|000008f0| 6c 65 2d 76 69 65 77 29 | 20 55 73 65 20 74 68 69 |le-view)| Use thi|
|00000900| 73 20 66 75 6e 63 74 69 | 6f 6e 20 74 6f 20 70 65 |s functi|on to pe|
|00000910| 72 66 6f 72 6d 20 61 6e | 20 61 63 74 69 6f 6e 20 |rform an| action |
|00000920| 61 66 74 65 72 0d 20 20 | 20 61 20 6c 65 67 61 6c |after. | a legal|
|00000930| 20 64 72 61 67 2e 0d 0d | 4d 65 74 68 6f 64 73 20 | drag...|Methods |
|00000940| 6f 66 20 49 6e 74 65 72 | 65 73 74 0d 0d 20 70 72 |of Inter|est.. pr|
|00000950| 65 2d 64 72 61 67 2d 68 | 69 6c 69 74 65 20 28 73 |e-drag-h|ilite (s|
|00000960| 76 20 64 72 61 67 67 61 | 62 6c 65 2d 73 76 6d 29 |v dragga|ble-svm)|
|00000970| 20 68 69 6c 69 74 65 2d | 66 6c 61 67 0d 20 20 20 | hilite-|flag. |
|00000980| 53 70 65 63 69 61 6c 69 | 7a 65 20 74 68 69 73 20 |Speciali|ze this |
|00000990| 74 6f 20 63 75 73 74 6f | 6d 69 7a 65 20 74 68 65 |to custo|mize the|
|000009a0| 20 68 69 6c 69 74 69 6e | 67 20 65 66 66 65 63 74 | hilitin|g effect|
|000009b0| 20 6f 6e 20 74 68 65 20 | 6f 72 69 67 69 6e 61 6c | on the |original|
|000009c0| 20 70 6f 73 69 74 69 6f | 6e 0d 20 20 20 6f 66 20 | positio|n. of |
|000009d0| 74 68 65 20 69 74 65 6d | 20 62 65 69 6e 67 20 64 |the item| being d|
|000009e0| 72 61 67 67 65 64 2e 20 | 68 69 6c 69 74 65 2d 66 |ragged. |hilite-f|
|000009f0| 6c 61 67 20 69 6e 64 69 | 63 61 74 65 73 20 77 68 |lag indi|cates wh|
|00000a00| 65 74 68 65 72 20 74 6f | 20 68 69 6c 69 74 65 20 |ether to| hilite |
|00000a10| 6f 72 20 75 6e 2d 68 69 | 6c 69 74 65 0d 20 20 20 |or un-hi|lite. |
|00000a20| 74 68 65 20 69 74 65 6d | 20 28 74 2f 6e 69 6c 29 |the item| (t/nil)|
|00000a30| 2e 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 6d 65 |. The de|fault me|
|00000a40| 74 68 6f 64 20 75 73 65 | 73 20 69 6e 76 65 72 73 |thod use|s invers|
|00000a50| 69 6f 6e 2e 0d 0d 20 64 | 72 61 67 67 61 62 6c 65 |ion... d|raggable|
|00000a60| 2d 70 20 28 73 76 20 64 | 72 61 67 67 61 62 6c 65 |-p (sv d|raggable|
|00000a70| 2d 73 76 6d 29 0d 20 20 | 20 53 70 65 63 69 61 6c |-svm). | Special|
|00000a80| 69 7a 65 20 74 68 69 73 | 20 74 6f 20 63 6f 6e 74 |ize this| to cont|
|00000a90| 72 6f 6c 20 77 68 65 6e | 20 61 6e 20 69 74 65 6d |rol when| an item|
|00000aa0| 20 63 61 6e 20 62 65 20 | 64 72 61 67 67 65 64 2e | can be |dragged.|
|00000ab0| 20 44 65 66 61 75 6c 74 | 20 69 73 20 61 6c 77 61 | Default| is alwa|
|00000ac0| 79 73 2e 0d 0d 7c 23 0d | 3b 3b 3b 3b 3b 3b 3b 3b |ys...|#.|;;;;;;;;|
|00000ad0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000ae0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000af0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000b00| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 0d 0d |;;;;;;;;|;;;;;;..|
|00000b10| 28 64 65 66 63 6c 61 73 | 73 20 64 72 61 67 67 61 |(defclas|s dragga|
|00000b20| 62 6c 65 2d 73 76 6d 20 | 28 29 0d 20 20 28 28 64 |ble-svm |(). ((d|
|00000b30| 72 61 67 2d 62 6f 75 6e | 64 73 20 20 20 20 20 20 |rag-boun|ds |
|00000b40| 20 20 3a 69 6e 69 74 61 | 72 67 20 3a 64 72 61 67 | :inita|rg :drag|
|00000b50| 2d 62 6f 75 6e 64 73 0d | 20 20 20 20 20 20 20 20 |-bounds.| |
|00000b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3a | | :|
|00000b70| 61 63 63 65 73 73 6f 72 | 20 64 72 61 67 2d 62 6f |accessor| drag-bo|
|00000b80| 75 6e 64 73 29 0d 20 20 | 20 28 68 2d 64 72 61 67 |unds). | (h-drag|
|00000b90| 2d 73 6c 6f 70 20 20 20 | 20 20 20 20 20 3a 69 6e |-slop | :in|
|00000ba0| 69 74 61 72 67 20 3a 68 | 2d 64 72 61 67 2d 73 6c |itarg :h|-drag-sl|
|00000bb0| 6f 70 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |op. | |
|00000bc0| 20 20 20 20 20 20 20 20 | 20 20 3a 61 63 63 65 73 | | :acces|
|00000bd0| 73 6f 72 20 68 2d 64 72 | 61 67 2d 73 6c 6f 70 29 |sor h-dr|ag-slop)|
|00000be0| 0d 20 20 20 28 76 2d 64 | 72 61 67 2d 73 6c 6f 70 |. (v-d|rag-slop|
|00000bf0| 20 20 20 20 20 20 20 20 | 3a 69 6e 69 74 61 72 67 | |:initarg|
|00000c00| 20 3a 76 2d 64 72 61 67 | 2d 73 6c 6f 70 0d 20 20 | :v-drag|-slop. |
|00000c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c20| 20 20 20 20 20 3a 61 63 | 63 65 73 73 6f 72 20 76 | :ac|cessor v|
|00000c30| 2d 64 72 61 67 2d 73 6c | 6f 70 29 0d 20 20 20 28 |-drag-sl|op). (|
|00000c40| 64 72 61 67 2d 61 78 69 | 73 29 0d 20 20 20 28 64 |drag-axi|s). (d|
|00000c50| 72 61 67 2d 73 74 61 72 | 74 2d 74 6f 6c 20 20 20 |rag-star|t-tol |
|00000c60| 20 20 3a 69 6e 69 74 61 | 72 67 20 3a 64 72 61 67 | :inita|rg :drag|
|00000c70| 2d 73 74 61 72 74 2d 74 | 6f 6c 0d 20 20 20 20 20 |-start-t|ol. |
|00000c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c90| 20 20 3a 61 63 63 65 73 | 73 6f 72 20 64 72 61 67 | :acces|sor drag|
|00000ca0| 2d 73 74 61 72 74 2d 74 | 6f 6c 29 0d 20 20 20 28 |-start-t|ol). (|
|00000cb0| 64 72 61 67 2d 61 63 74 | 69 6f 6e 2d 66 6e 20 20 |drag-act|ion-fn |
|00000cc0| 20 20 20 3a 69 6e 69 74 | 61 72 67 20 3a 64 72 61 | :init|arg :dra|
|00000cd0| 67 2d 61 63 74 69 6f 6e | 2d 66 6e 0d 20 20 20 20 |g-action|-fn. |
|00000ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000cf0| 20 20 20 3a 61 63 63 65 | 73 73 6f 72 20 64 72 61 | :acce|ssor dra|
|00000d00| 67 2d 61 63 74 69 6f 6e | 2d 66 6e 29 0d 20 20 20 |g-action|-fn). |
|00000d10| 28 64 72 61 67 2d 65 6e | 64 2d 61 63 74 69 6f 6e |(drag-en|d-action|
|00000d20| 2d 66 6e 20 3a 69 6e 69 | 74 61 72 67 20 3a 64 72 |-fn :ini|targ :dr|
|00000d30| 61 67 2d 65 6e 64 2d 61 | 63 74 69 6f 6e 2d 66 6e |ag-end-a|ction-fn|
|00000d40| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000d50| 20 20 20 20 20 20 20 20 | 3a 61 63 63 65 73 73 6f | |:accesso|
|00000d60| 72 20 64 72 61 67 2d 65 | 6e 64 2d 61 63 74 69 6f |r drag-e|nd-actio|
|00000d70| 6e 2d 66 6e 29 29 0d 20 | 20 28 3a 64 65 66 61 75 |n-fn)). | (:defau|
|00000d80| 6c 74 2d 69 6e 69 74 61 | 72 67 73 0d 20 20 20 20 |lt-inita|rgs. |
|00000d90| 3a 64 72 61 67 2d 62 6f | 75 6e 64 73 20 3a 6e 6f |:drag-bo|unds :no|
|00000da0| 6e 65 0d 20 20 20 20 3a | 68 2d 64 72 61 67 2d 73 |ne. :|h-drag-s|
|00000db0| 6c 6f 70 20 32 30 0d 20 | 20 20 20 3a 76 2d 64 72 |lop 20. | :v-dr|
|00000dc0| 61 67 2d 73 6c 6f 70 20 | 32 30 0d 20 20 20 20 3a |ag-slop |20. :|
|00000dd0| 64 72 61 67 2d 61 78 69 | 73 20 3a 62 6f 74 68 0d |drag-axi|s :both.|
|00000de0| 20 20 20 20 3a 64 72 61 | 67 2d 73 74 61 72 74 2d | :dra|g-start-|
|00000df0| 74 6f 6c 20 23 40 28 32 | 20 32 29 0d 20 20 20 20 |tol #@(2| 2). |
|00000e00| 29 29 0d 0d 28 64 65 66 | 6d 65 74 68 6f 64 20 69 |))..(def|method i|
|00000e10| 6e 69 74 69 61 6c 69 7a | 65 2d 69 6e 73 74 61 6e |nitializ|e-instan|
|00000e20| 63 65 20 3a 61 66 74 65 | 72 20 28 28 73 76 20 64 |ce :afte|r ((sv d|
|00000e30| 72 61 67 67 61 62 6c 65 | 2d 73 76 6d 29 20 26 72 |raggable|-svm) &r|
|00000e40| 65 73 74 20 69 6e 69 74 | 61 72 67 73 20 26 6b 65 |est init|args &ke|
|00000e50| 79 20 64 72 61 67 2d 61 | 78 69 73 29 0d 20 20 28 |y drag-a|xis). (|
|00000e60| 64 65 63 6c 61 72 65 20 | 28 69 67 6e 6f 72 65 20 |declare |(ignore |
|00000e70| 69 6e 69 74 61 72 67 73 | 29 29 0d 20 20 28 73 65 |initargs|)). (se|
|00000e80| 74 66 20 28 64 72 61 67 | 2d 61 78 69 73 20 73 76 |tf (drag|-axis sv|
|00000e90| 29 20 64 72 61 67 2d 61 | 78 69 73 29 29 0d 0d 28 |) drag-a|xis))..(|
|00000ea0| 64 65 66 6d 65 74 68 6f | 64 20 64 72 61 67 2d 61 |defmetho|d drag-a|
|00000eb0| 78 69 73 20 28 28 73 76 | 20 64 72 61 67 67 61 62 |xis ((sv| draggab|
|00000ec0| 6c 65 2d 73 76 6d 29 29 | 0d 20 20 3b 3b 69 6e 74 |le-svm))|. ;;int|
|00000ed0| 65 72 6e 61 6c 6c 79 20 | 74 68 65 20 64 72 61 67 |ernally |the drag|
|00000ee0| 20 61 78 69 73 20 69 73 | 20 73 74 6f 72 65 64 20 | axis is| stored |
|00000ef0| 61 73 20 74 68 65 20 63 | 6f 72 72 65 73 70 6f 6e |as the c|orrespon|
|00000f00| 64 69 6e 67 20 54 6f 6f | 6c 42 6f 78 20 63 6f 6e |ding Too|lBox con|
|00000f10| 73 74 61 6e 74 0d 20 20 | 28 65 63 61 73 65 20 28 |stant. |(ecase (|
|00000f20| 73 6c 6f 74 2d 76 61 6c | 75 65 20 73 76 20 27 64 |slot-val|ue sv 'd|
|00000f30| 72 61 67 2d 61 78 69 73 | 29 0d 20 20 20 20 28 23 |rag-axis|). (#|
|00000f40| 2e 23 24 6e 6f 43 6f 6e | 73 74 72 61 69 6e 74 20 |.#$noCon|straint |
|00000f50| 3a 62 6f 74 68 29 0d 20 | 20 20 20 28 23 2e 23 24 |:both). | (#.#$|
|00000f60| 68 41 78 69 73 4f 6e 6c | 79 20 3a 68 6f 72 69 7a |hAxisOnl|y :horiz|
|00000f70| 6f 6e 74 61 6c 29 0d 20 | 20 20 20 28 23 2e 23 24 |ontal). | (#.#$|
|00000f80| 76 41 78 69 73 4f 6e 6c | 79 20 3a 76 65 72 74 69 |vAxisOnl|y :verti|
|00000f90| 63 61 6c 29 29 29 0d 0d | 28 64 65 66 6d 65 74 68 |cal)))..|(defmeth|
|00000fa0| 6f 64 20 28 73 65 74 66 | 20 64 72 61 67 2d 61 78 |od (setf| drag-ax|
|00000fb0| 69 73 29 20 28 61 78 69 | 73 2d 6b 65 79 20 28 73 |is) (axi|s-key (s|
|00000fc0| 76 20 64 72 61 67 67 61 | 62 6c 65 2d 73 76 6d 29 |v dragga|ble-svm)|
|00000fd0| 29 0d 20 20 3b 3b 69 6e | 74 65 72 6e 61 6c 6c 79 |). ;;in|ternally|
|00000fe0| 20 74 68 65 20 64 72 61 | 67 20 61 78 69 73 20 69 | the dra|g axis i|
|00000ff0| 73 20 73 74 6f 72 65 64 | 20 61 73 20 74 68 65 20 |s stored| as the |
|00001000| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 54 6f |correspo|nding To|
|00001010| 6f 6c 42 6f 78 20 63 6f | 6e 73 74 61 6e 74 0d 20 |olBox co|nstant. |
|00001020| 20 28 73 65 74 66 20 28 | 73 6c 6f 74 2d 76 61 6c | (setf (|slot-val|
|00001030| 75 65 20 73 76 20 27 64 | 72 61 67 2d 61 78 69 73 |ue sv 'd|rag-axis|
|00001040| 29 20 28 65 63 61 73 65 | 20 61 78 69 73 2d 6b 65 |) (ecase| axis-ke|
|00001050| 79 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |y. | |
|00001060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001070| 20 20 20 20 20 20 20 28 | 3a 62 6f 74 68 20 23 2e | (|:both #.|
|00001080| 23 24 6e 6f 43 6f 6e 73 | 74 72 61 69 6e 74 29 0d |#$noCons|traint).|
|00001090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000010a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000010b0| 20 20 20 20 20 28 3a 68 | 6f 72 69 7a 6f 6e 74 61 | (:h|orizonta|
|000010c0| 6c 20 23 2e 23 24 68 41 | 78 69 73 4f 6e 6c 79 29 |l #.#$hA|xisOnly)|
|000010d0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000010e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000010f0| 20 20 20 20 20 20 28 3a | 76 65 72 74 69 63 61 6c | (:|vertical|
|00001100| 20 23 2e 23 24 76 41 78 | 69 73 4f 6e 6c 79 29 29 | #.#$vAx|isOnly))|
|00001110| 29 0d 20 20 61 78 69 73 | 2d 6b 65 79 29 0d 0d 28 |). axis|-key)..(|
|00001120| 64 65 66 6d 65 74 68 6f | 64 20 76 69 65 77 2d 63 |defmetho|d view-c|
|00001130| 6c 69 63 6b 2d 65 76 65 | 6e 74 2d 68 61 6e 64 6c |lick-eve|nt-handl|
|00001140| 65 72 20 28 28 73 76 20 | 64 72 61 67 67 61 62 6c |er ((sv |draggabl|
|00001150| 65 2d 73 76 6d 29 20 77 | 68 65 72 65 29 0d 20 20 |e-svm) w|here). |
|00001160| 28 75 6e 6c 65 73 73 20 | 28 76 69 65 77 2d 64 72 |(unless |(view-dr|
|00001170| 61 67 2d 68 61 6e 64 6c | 65 72 20 73 76 20 77 68 |ag-handl|er sv wh|
|00001180| 65 72 65 29 0d 20 20 20 | 20 28 63 61 6c 6c 2d 6e |ere). | (call-n|
|00001190| 65 78 74 2d 6d 65 74 68 | 6f 64 29 29 29 0d 0d 28 |ext-meth|od)))..(|
|000011a0| 64 65 66 6d 65 74 68 6f | 64 20 76 69 65 77 2d 64 |defmetho|d view-d|
|000011b0| 72 61 67 2d 68 61 6e 64 | 6c 65 72 20 28 28 73 76 |rag-hand|ler ((sv|
|000011c0| 20 64 72 61 67 67 61 62 | 6c 65 2d 73 76 6d 29 20 | draggab|le-svm) |
|000011d0| 77 68 65 72 65 29 0d 20 | 20 28 77 68 65 6e 20 28 |where). | (when (|
|000011e0| 61 6e 64 20 28 64 72 61 | 67 67 61 62 6c 65 2d 70 |and (dra|ggable-p|
|000011f0| 20 73 76 29 20 28 65 71 | 20 73 76 20 28 66 69 6e | sv) (eq| sv (fin|
|00001200| 64 2d 63 6c 69 63 6b 65 | 64 2d 73 75 62 76 69 65 |d-clicke|d-subvie|
|00001210| 77 20 73 76 20 77 68 65 | 72 65 29 29 29 0d 20 20 |w sv whe|re))). |
|00001220| 20 20 28 6c 65 74 20 28 | 28 64 72 61 67 2d 6f 66 | (let (|(drag-of|
|00001230| 66 73 65 74 20 28 70 72 | 6f 67 32 0d 20 20 20 20 |fset (pr|og2. |
|00001240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001250| 20 20 20 20 28 70 72 65 | 2d 64 72 61 67 2d 68 69 | (pre|-drag-hi|
|00001260| 6c 69 74 65 20 73 76 20 | 74 29 0d 20 20 20 20 20 |lite sv |t). |
|00001270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001280| 20 20 20 28 77 68 65 6e | 20 28 64 72 61 67 2d 73 | (when| (drag-s|
|00001290| 74 61 72 74 2d 70 20 73 | 76 20 77 68 65 72 65 29 |tart-p s|v where)|
|000012a0| 20 28 64 72 61 67 2d 69 | 74 65 6d 20 73 76 20 77 | (drag-i|tem sv w|
|000012b0| 68 65 72 65 29 29 0d 20 | 20 20 20 20 20 20 20 20 |here)). | |
|000012c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 | | (|
|000012d0| 70 72 65 2d 64 72 61 67 | 2d 68 69 6c 69 74 65 20 |pre-drag|-hilite |
|000012e0| 73 76 20 6e 69 6c 29 29 | 29 29 0d 20 20 20 20 20 |sv nil))|)). |
|000012f0| 20 28 77 68 65 6e 20 64 | 72 61 67 2d 6f 66 66 73 | (when d|rag-offs|
|00001300| 65 74 0d 20 20 20 20 20 | 20 20 20 28 63 61 6c 6c |et. | (call|
|00001310| 2d 64 72 61 67 2d 65 6e | 64 2d 61 63 74 69 6f 6e |-drag-en|d-action|
|00001320| 20 73 76 20 64 72 61 67 | 2d 6f 66 66 73 65 74 20 | sv drag|-offset |
|00001330| 28 61 64 64 2d 70 6f 69 | 6e 74 73 20 77 68 65 72 |(add-poi|nts wher|
|00001340| 65 20 64 72 61 67 2d 6f | 66 66 73 65 74 29 29 0d |e drag-o|ffset)).|
|00001350| 20 20 20 20 20 20 20 20 | 74 29 29 29 29 0d 0d 28 | |t))))..(|
|00001360| 64 65 66 6d 65 74 68 6f | 64 20 64 72 61 67 67 61 |defmetho|d dragga|
|00001370| 62 6c 65 2d 70 20 28 28 | 73 76 20 64 72 61 67 67 |ble-p ((|sv dragg|
|00001380| 61 62 6c 65 2d 73 76 6d | 29 29 20 28 64 65 63 6c |able-svm|)) (decl|
|00001390| 61 72 65 20 28 69 67 6e | 6f 72 65 20 73 76 29 29 |are (ign|ore sv))|
|000013a0| 0d 20 20 3b 3b 73 70 65 | 63 69 61 6c 69 7a 65 20 |. ;;spe|cialize |
|000013b0| 74 6f 20 63 6f 6e 74 72 | 6f 6c 20 77 68 65 6e 20 |to contr|ol when |
|000013c0| 61 6e 20 69 74 65 6d 20 | 63 61 6e 20 62 65 20 64 |an item |can be d|
|000013d0| 72 61 67 67 65 64 0d 20 | 20 74 29 0d 0d 28 64 65 |ragged. | t)..(de|
|000013e0| 66 6d 65 74 68 6f 64 20 | 63 61 6c 6c 2d 64 72 61 |fmethod |call-dra|
|000013f0| 67 2d 61 63 74 69 6f 6e | 20 28 28 73 76 20 64 72 |g-action| ((sv dr|
|00001400| 61 67 67 61 62 6c 65 2d | 73 76 6d 29 29 0d 20 20 |aggable-|svm)). |
|00001410| 3b 3b 65 78 69 73 74 73 | 20 70 72 69 6d 61 72 69 |;;exists| primari|
|00001420| 6c 79 20 74 6f 20 62 65 | 20 73 70 65 63 69 61 6c |ly to be| special|
|00001430| 69 7a 65 64 20 62 79 20 | 73 65 6c 65 63 74 61 62 |ized by |selectab|
|00001440| 6c 65 2d 73 76 6d 0d 20 | 20 28 64 72 61 67 2d 61 |le-svm. | (drag-a|
|00001450| 63 74 69 6f 6e 20 73 76 | 29 29 0d 0d 28 64 65 66 |ction sv|))..(def|
|00001460| 6d 65 74 68 6f 64 20 64 | 72 61 67 2d 61 63 74 69 |method d|rag-acti|
|00001470| 6f 6e 20 28 28 73 76 20 | 64 72 61 67 67 61 62 6c |on ((sv |draggabl|
|00001480| 65 2d 73 76 6d 29 29 0d | 20 20 28 77 68 65 6e 20 |e-svm)).| (when |
|00001490| 28 73 6c 6f 74 2d 62 6f | 75 6e 64 70 20 73 76 20 |(slot-bo|undp sv |
|000014a0| 27 64 72 61 67 2d 61 63 | 74 69 6f 6e 2d 66 6e 29 |'drag-ac|tion-fn)|
|000014b0| 0d 20 20 20 20 28 66 75 | 6e 63 61 6c 6c 20 28 64 |. (fu|ncall (d|
|000014c0| 72 61 67 2d 61 63 74 69 | 6f 6e 2d 66 6e 20 73 76 |rag-acti|on-fn sv|
|000014d0| 29 20 73 76 29 29 29 0d | 0d 28 64 65 66 6d 65 74 |) sv))).|.(defmet|
|000014e0| 68 6f 64 20 63 61 6c 6c | 2d 64 72 61 67 2d 65 6e |hod call|-drag-en|
|000014f0| 64 2d 61 63 74 69 6f 6e | 20 28 28 73 76 20 64 72 |d-action| ((sv dr|
|00001500| 61 67 67 61 62 6c 65 2d | 73 76 6d 29 20 64 72 61 |aggable-|svm) dra|
|00001510| 67 2d 6f 66 66 73 65 74 | 20 64 65 73 74 2d 70 6f |g-offset| dest-po|
|00001520| 69 6e 74 29 0d 20 20 3b | 3b 65 78 69 73 74 73 20 |int). ;|;exists |
|00001530| 70 72 69 6d 61 72 69 6c | 79 20 74 6f 20 62 65 20 |primaril|y to be |
|00001540| 73 70 65 63 69 61 6c 69 | 7a 65 64 20 62 79 20 73 |speciali|zed by s|
|00001550| 65 6c 65 63 74 61 62 6c | 65 2d 73 76 6d 0d 20 20 |electabl|e-svm. |
|00001560| 28 64 72 61 67 2d 65 6e | 64 2d 61 63 74 69 6f 6e |(drag-en|d-action|
|00001570| 20 73 76 20 64 72 61 67 | 2d 6f 66 66 73 65 74 20 | sv drag|-offset |
|00001580| 64 65 73 74 2d 70 6f 69 | 6e 74 29 29 0d 0d 28 64 |dest-poi|nt))..(d|
|00001590| 65 66 6d 65 74 68 6f 64 | 20 64 72 61 67 2d 65 6e |efmethod| drag-en|
|000015a0| 64 2d 61 63 74 69 6f 6e | 20 28 28 73 76 20 64 72 |d-action| ((sv dr|
|000015b0| 61 67 67 61 62 6c 65 2d | 73 76 6d 29 20 64 72 61 |aggable-|svm) dra|
|000015c0| 67 2d 6f 66 66 73 65 74 | 20 64 65 73 74 2d 70 6f |g-offset| dest-po|
|000015d0| 69 6e 74 29 0d 20 20 28 | 77 68 65 6e 20 28 73 6c |int). (|when (sl|
|000015e0| 6f 74 2d 62 6f 75 6e 64 | 70 20 73 76 20 27 64 72 |ot-bound|p sv 'dr|
|000015f0| 61 67 2d 65 6e 64 2d 61 | 63 74 69 6f 6e 2d 66 6e |ag-end-a|ction-fn|
|00001600| 29 0d 20 20 20 20 28 66 | 75 6e 63 61 6c 6c 20 28 |). (f|uncall (|
|00001610| 64 72 61 67 2d 65 6e 64 | 2d 61 63 74 69 6f 6e 2d |drag-end|-action-|
|00001620| 66 6e 20 73 76 29 20 73 | 76 20 64 72 61 67 2d 6f |fn sv) s|v drag-o|
|00001630| 66 66 73 65 74 20 64 65 | 73 74 2d 70 6f 69 6e 74 |ffset de|st-point|
|00001640| 29 29 29 0d 0d 28 64 65 | 66 6d 65 74 68 6f 64 20 |)))..(de|fmethod |
|00001650| 70 72 65 2d 64 72 61 67 | 2d 68 69 6c 69 74 65 20 |pre-drag|-hilite |
|00001660| 28 28 73 76 20 64 72 61 | 67 67 61 62 6c 65 2d 73 |((sv dra|ggable-s|
|00001670| 76 6d 29 20 68 69 6c 69 | 74 65 2d 66 6c 61 67 29 |vm) hili|te-flag)|
|00001680| 0d 20 20 28 77 69 74 68 | 2d 66 6f 63 75 73 65 64 |. (with|-focused|
|00001690| 2d 76 69 65 77 20 28 66 | 6f 63 75 73 69 6e 67 2d |-view (f|ocusing-|
|000016a0| 76 69 65 77 20 73 76 29 | 0d 20 20 20 20 28 68 69 |view sv)|. (hi|
|000016b0| 6c 69 74 65 2d 76 69 65 | 77 20 73 76 20 68 69 6c |lite-vie|w sv hil|
|000016c0| 69 74 65 2d 66 6c 61 67 | 29 29 29 0d 0d 28 64 65 |ite-flag|)))..(de|
|000016d0| 66 6d 65 74 68 6f 64 20 | 64 72 61 67 2d 73 74 61 |fmethod |drag-sta|
|000016e0| 72 74 2d 70 20 28 28 73 | 76 20 64 72 61 67 67 61 |rt-p ((s|v dragga|
|000016f0| 62 6c 65 2d 73 76 6d 29 | 20 77 68 65 72 65 29 0d |ble-svm)| where).|
|00001700| 20 20 3b 3b 74 72 61 63 | 6b 73 20 74 68 65 20 6d | ;;trac|ks the m|
|00001710| 6f 75 73 65 20 74 6f 20 | 73 65 65 20 69 66 20 74 |ouse to |see if t|
|00001720| 68 65 20 75 73 65 72 20 | 62 72 65 61 6b 73 20 74 |he user |breaks t|
|00001730| 68 65 20 69 74 65 6d 20 | 6c 6f 6f 73 65 0d 20 20 |he item |loose. |
|00001740| 28 72 6c 65 74 20 28 28 | 72 20 3a 52 65 63 74 0d |(rlet ((|r :Rect.|
|00001750| 20 20 20 20 20 20 20 20 | 20 20 20 20 3a 74 6f 70 | | :top|
|00001760| 4c 65 66 74 20 28 73 75 | 62 74 72 61 63 74 2d 70 |Left (su|btract-p|
|00001770| 6f 69 6e 74 73 20 77 68 | 65 72 65 20 28 64 72 61 |oints wh|ere (dra|
|00001780| 67 2d 73 74 61 72 74 2d | 74 6f 6c 20 73 76 29 29 |g-start-|tol sv))|
|00001790| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 3a 62 6f |. | :bo|
|000017a0| 74 52 69 67 68 74 20 28 | 61 64 64 2d 70 6f 69 6e |tRight (|add-poin|
|000017b0| 74 73 20 77 68 65 72 65 | 20 28 64 72 61 67 2d 73 |ts where| (drag-s|
|000017c0| 74 61 72 74 2d 74 6f 6c | 20 73 76 29 29 29 29 0d |tart-tol| sv)))).|
|000017d0| 20 20 20 20 28 6c 6f 6f | 70 20 28 75 6e 6c 65 73 | (loo|p (unles|
|000017e0| 73 20 28 23 5f 57 61 69 | 74 4d 6f 75 73 65 55 70 |s (#_Wai|tMouseUp|
|000017f0| 29 20 28 72 65 74 75 72 | 6e 20 6e 69 6c 29 29 0d |) (retur|n nil)).|
|00001800| 20 20 20 20 20 20 20 20 | 20 20 28 75 6e 6c 65 73 | | (unles|
|00001810| 73 20 28 23 5f 50 74 49 | 6e 52 65 63 74 20 28 76 |s (#_PtI|nRect (v|
|00001820| 69 65 77 2d 6d 6f 75 73 | 65 2d 70 6f 73 69 74 69 |iew-mous|e-positi|
|00001830| 6f 6e 20 28 66 6f 63 75 | 73 69 6e 67 2d 76 69 65 |on (focu|sing-vie|
|00001840| 77 20 73 76 29 29 20 72 | 29 0d 20 20 20 20 20 20 |w sv)) r|). |
|00001850| 20 20 20 20 20 20 28 72 | 65 74 75 72 6e 20 74 29 | (r|eturn t)|
|00001860| 29 29 29 29 0d 0d 28 64 | 65 66 70 61 73 63 61 6c |))))..(d|efpascal|
|00001870| 20 64 72 61 67 2d 61 63 | 74 69 6f 6e 2d 70 72 6f | drag-ac|tion-pro|
|00001880| 63 20 28 29 0d 20 20 3b | 3b 70 61 73 63 61 6c 20 |c (). ;|;pascal |
|00001890| 73 74 79 6c 65 20 66 6e | 20 70 61 73 73 65 64 20 |style fn| passed |
|000018a0| 74 6f 20 44 72 61 67 47 | 72 61 79 52 67 6e 2c 20 |to DragG|rayRgn, |
|000018b0| 74 68 65 20 63 61 6c 6c | 2d 64 72 61 67 2d 61 63 |the call|-drag-ac|
|000018c0| 74 69 6f 6e 20 6d 65 74 | 68 6f 64 20 64 6f 65 73 |tion met|hod does|
|000018d0| 20 74 68 65 0d 20 20 3b | 3b 72 65 61 6c 20 77 6f | the. ;|;real wo|
|000018e0| 72 6b 2e 20 2a 63 75 72 | 72 65 6e 74 2d 64 72 61 |rk. *cur|rent-dra|
|000018f0| 67 67 61 62 6c 65 2d 64 | 69 2a 20 69 73 20 62 6f |ggable-d|i* is bo|
|00001900| 75 6e 64 20 66 6f 72 20 | 74 68 65 20 64 75 72 61 |und for |the dura|
|00001910| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 64 72 61 67 |tion of |the drag|
|00001920| 2c 20 74 6f 0d 20 20 3b | 3b 63 6f 6d 6d 75 6e 69 |, to. ;|;communi|
|00001930| 63 61 74 65 20 74 68 65 | 20 69 74 65 6d 20 62 65 |cate the| item be|
|00001940| 69 6e 67 20 64 72 61 67 | 67 65 64 20 74 6f 20 64 |ing drag|ged to d|
|00001950| 72 61 67 2d 61 63 74 69 | 6f 6e 2d 70 72 6f 63 2e |rag-acti|on-proc.|
|00001960| 0d 20 20 28 64 65 63 6c | 61 72 65 20 28 73 70 65 |. (decl|are (spe|
|00001970| 63 69 61 6c 20 2a 63 75 | 72 72 65 6e 74 2d 64 72 |cial *cu|rrent-dr|
|00001980| 61 67 67 61 62 6c 65 2d | 64 69 2a 29 29 0d 20 20 |aggable-|di*)). |
|00001990| 28 63 61 6c 6c 2d 64 72 | 61 67 2d 61 63 74 69 6f |(call-dr|ag-actio|
|000019a0| 6e 20 2a 63 75 72 72 65 | 6e 74 2d 64 72 61 67 67 |n *curre|nt-dragg|
|000019b0| 61 62 6c 65 2d 64 69 2a | 29 29 0d 0d 28 64 65 66 |able-di*|))..(def|
|000019c0| 6d 65 74 68 6f 64 20 64 | 72 61 67 2d 69 74 65 6d |method d|rag-item|
|000019d0| 20 28 28 73 76 20 64 72 | 61 67 67 61 62 6c 65 2d | ((sv dr|aggable-|
|000019e0| 73 76 6d 29 20 77 68 65 | 72 65 29 0d 20 20 3b 3b |svm) whe|re). ;;|
|000019f0| 52 65 74 75 72 6e 73 20 | 74 68 65 20 64 72 61 67 |Returns |the drag|
|00001a00| 2d 6f 66 66 73 65 74 20 | 6f 72 20 6e 69 6c 20 28 |-offset |or nil (|
|00001a10| 69 6c 6c 65 67 61 6c 20 | 64 72 61 67 20 2d 20 6e |illegal |drag - n|
|00001a20| 6f 20 63 61 6c 6c 20 74 | 6f 20 64 72 61 67 2d 65 |o call t|o drag-e|
|00001a30| 6e 64 2d 61 63 74 69 6f | 6e 29 0d 20 20 28 73 65 |nd-actio|n). (se|
|00001a40| 74 66 20 77 68 65 72 65 | 20 28 76 69 65 77 2d 74 |tf where| (view-t|
|00001a50| 6f 2d 67 6c 6f 62 61 6c | 20 28 66 6f 63 75 73 69 |o-global| (focusi|
|00001a60| 6e 67 2d 76 69 65 77 20 | 73 76 29 20 77 68 65 72 |ng-view |sv) wher|
|00001a70| 65 29 29 0d 20 20 28 72 | 6c 65 74 20 28 28 6c 69 |e)). (r|let ((li|
|00001a80| 6d 69 74 52 65 63 74 20 | 3a 52 65 63 74 29 0d 20 |mitRect |:Rect). |
|00001a90| 20 20 20 20 20 20 20 20 | 28 73 6c 6f 70 52 65 63 | |(slopRec|
|00001aa0| 74 20 3a 52 65 63 74 29 | 29 0d 20 20 20 20 28 77 |t :Rect)|). (w|
|00001ab0| 69 74 68 2d 6d 61 63 70 | 74 72 73 20 28 28 64 72 |ith-macp|trs ((dr|
|00001ac0| 61 67 52 67 6e 20 28 23 | 5f 4e 65 77 52 67 6e 29 |agRgn (#|_NewRgn)|
|00001ad0| 29 29 0d 20 20 20 20 20 | 20 28 75 6e 77 69 6e 64 |)). | (unwind|
|00001ae0| 2d 70 72 6f 74 65 63 74 | 0d 20 20 20 20 20 20 20 |-protect|. |
|00001af0| 20 28 6c 65 74 20 28 28 | 2a 63 75 72 72 65 6e 74 | (let ((|*current|
|00001b00| 2d 64 72 61 67 67 61 62 | 6c 65 2d 64 69 2a 20 73 |-draggab|le-di* s|
|00001b10| 76 29 29 0d 20 20 20 20 | 20 20 20 20 20 20 28 64 |v)). | (d|
|00001b20| 65 63 6c 61 72 65 20 28 | 73 70 65 63 69 61 6c 20 |eclare (|special |
|00001b30| 2a 63 75 72 72 65 6e 74 | 2d 64 72 61 67 67 61 62 |*current|-draggab|
|00001b40| 6c 65 2d 64 69 2a 29 29 | 0d 20 20 20 20 20 20 20 |le-di*))|. |
|00001b50| 20 20 20 28 73 65 74 2d | 44 72 61 67 47 72 61 79 | (set-|DragGray|
|00001b60| 52 67 6e 2d 61 72 65 61 | 73 20 73 76 20 77 68 65 |Rgn-area|s sv whe|
|00001b70| 72 65 20 64 72 61 67 52 | 67 6e 20 6c 69 6d 69 74 |re dragR|gn limit|
|00001b80| 52 65 63 74 20 73 6c 6f | 70 52 65 63 74 29 0d 20 |Rect slo|pRect). |
|00001b90| 20 20 20 20 20 20 20 20 | 20 28 73 68 72 69 6e 6b | | (shrink|
|00001ba0| 2d 77 72 61 70 2d 6c 69 | 6d 69 74 52 65 63 74 20 |-wrap-li|mitRect |
|00001bb0| 77 68 65 72 65 20 64 72 | 61 67 52 67 6e 20 6c 69 |where dr|agRgn li|
|00001bc0| 6d 69 74 52 65 63 74 29 | 0d 20 20 20 20 20 20 20 |mitRect)|. |
|00001bd0| 20 20 20 28 77 69 74 68 | 2d 66 6f 63 75 73 65 64 | (with|-focused|
|00001be0| 2d 76 69 65 77 20 2a 57 | 4d 67 72 2d 76 69 65 77 |-view *W|Mgr-view|
|00001bf0| 2a 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 28 73 |*. | (s|
|00001c00| 65 74 66 20 77 68 65 72 | 65 20 28 23 5f 44 72 61 |etf wher|e (#_Dra|
|00001c10| 67 47 72 61 79 52 67 6e | 20 64 72 61 67 52 67 6e |gGrayRgn| dragRgn|
|00001c20| 20 77 68 65 72 65 20 6c | 69 6d 69 74 52 65 63 74 | where l|imitRect|
|00001c30| 20 73 6c 6f 70 52 65 63 | 74 20 28 73 6c 6f 74 2d | slopRec|t (slot-|
|00001c40| 76 61 6c 75 65 20 73 76 | 20 27 64 72 61 67 2d 61 |value sv| 'drag-a|
|00001c50| 78 69 73 29 20 64 72 61 | 67 2d 61 63 74 69 6f 6e |xis) dra|g-action|
|00001c60| 2d 70 72 6f 63 29 29 29 | 0d 20 20 20 20 20 20 20 |-proc)))|. |
|00001c70| 20 20 20 28 75 6e 6c 65 | 73 73 20 28 65 71 6c 20 | (unle|ss (eql |
|00001c80| 23 40 28 2d 33 32 37 36 | 38 20 2d 33 32 37 36 38 |#@(-3276|8 -32768|
|00001c90| 29 20 77 68 65 72 65 29 | 20 77 68 65 72 65 29 29 |) where)| where))|
|00001ca0| 0d 20 20 20 20 20 20 20 | 20 28 23 5f 44 69 73 70 |. | (#_Disp|
|00001cb0| 6f 73 65 52 67 6e 20 64 | 72 61 67 52 67 6e 29 29 |oseRgn d|ragRgn))|
|00001cc0| 29 29 29 0d 0d 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |)))..;;;|;;;;;;;;|
|00001cd0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001ce0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001cf0| 3b 3b 3b 3b 3b 3b 3b 0d | 3b 3b 20 74 68 65 73 65 |;;;;;;;.|;; these|
|00001d00| 20 72 6f 75 74 69 6e 65 | 73 20 75 73 65 20 47 4c | routine|s use GL|
|00001d10| 4f 42 41 4c 20 63 6f 6f | 72 64 69 6e 61 74 65 73 |OBAL coo|rdinates|
|00001d20| 0d 0d 28 64 65 66 6d 65 | 74 68 6f 64 20 73 65 74 |..(defme|thod set|
|00001d30| 2d 44 72 61 67 47 72 61 | 79 52 67 6e 2d 61 72 65 |-DragGra|yRgn-are|
|00001d40| 61 73 20 28 28 73 76 20 | 64 72 61 67 67 61 62 6c |as ((sv |draggabl|
|00001d50| 65 2d 73 76 6d 29 20 77 | 68 65 72 65 20 64 72 61 |e-svm) w|here dra|
|00001d60| 67 2d 72 67 6e 20 6c 69 | 6d 69 74 52 65 63 74 20 |g-rgn li|mitRect |
|00001d70| 73 6c 6f 70 52 65 63 74 | 29 0d 20 20 28 64 65 63 |slopRect|). (dec|
|00001d80| 6c 61 72 65 20 28 69 67 | 6e 6f 72 65 20 77 68 65 |lare (ig|nore whe|
|00001d90| 72 65 29 29 0d 20 20 28 | 73 65 74 2d 64 72 61 67 |re)). (|set-drag|
|00001da0| 2d 6c 69 6d 69 74 2d 72 | 65 63 74 20 73 76 20 6c |-limit-r|ect sv l|
|00001db0| 69 6d 69 74 52 65 63 74 | 29 0d 20 20 28 73 65 74 |imitRect|). (set|
|00001dc0| 2d 64 72 61 67 2d 73 6c | 6f 70 2d 72 65 63 74 20 |-drag-sl|op-rect |
|00001dd0| 73 76 20 73 6c 6f 70 52 | 65 63 74 29 0d 20 20 28 |sv slopR|ect). (|
|00001de0| 73 65 74 2d 64 72 61 67 | 2d 6f 75 74 6c 69 6e 65 |set-drag|-outline|
|00001df0| 2d 72 67 6e 20 73 76 20 | 64 72 61 67 2d 72 67 6e |-rgn sv |drag-rgn|
|00001e00| 29 29 0d 0d 28 64 65 66 | 6d 65 74 68 6f 64 20 73 |))..(def|method s|
|00001e10| 65 74 2d 64 72 61 67 2d | 6f 75 74 6c 69 6e 65 2d |et-drag-|outline-|
|00001e20| 72 67 6e 20 28 28 73 76 | 20 64 72 61 67 67 61 62 |rgn ((sv| draggab|
|00001e30| 6c 65 2d 73 76 6d 29 20 | 64 72 61 67 2d 72 67 6e |le-svm) |drag-rgn|
|00001e40| 29 0d 20 20 28 6d 75 6c | 74 69 70 6c 65 2d 76 61 |). (mul|tiple-va|
|00001e50| 6c 75 65 2d 62 69 6e 64 | 20 28 74 6f 70 4c 65 66 |lue-bind| (topLef|
|00001e60| 74 20 62 6f 74 52 69 67 | 68 74 29 20 28 76 69 65 |t botRig|ht) (vie|
|00001e70| 77 2d 67 6c 6f 62 61 6c | 2d 63 6f 72 6e 65 72 73 |w-global|-corners|
|00001e80| 20 73 76 29 0d 20 20 20 | 20 28 72 6c 65 74 20 28 | sv). | (rlet (|
|00001e90| 28 72 20 3a 52 65 63 74 | 20 3a 74 6f 70 4c 65 66 |(r :Rect| :topLef|
|00001ea0| 74 20 74 6f 70 4c 65 66 | 74 20 3a 62 6f 74 52 69 |t topLef|t :botRi|
|00001eb0| 67 68 74 20 62 6f 74 52 | 69 67 68 74 29 29 0d 20 |ght botR|ight)). |
|00001ec0| 20 20 20 20 20 28 23 5f | 52 65 63 74 52 67 6e 20 | (#_|RectRgn |
|00001ed0| 64 72 61 67 2d 72 67 6e | 20 72 29 29 29 29 0d 0d |drag-rgn| r))))..|
|00001ee0| 28 64 65 66 6d 65 74 68 | 6f 64 20 73 65 74 2d 64 |(defmeth|od set-d|
|00001ef0| 72 61 67 2d 6c 69 6d 69 | 74 2d 72 65 63 74 20 28 |rag-limi|t-rect (|
|00001f00| 28 73 76 20 64 72 61 67 | 67 61 62 6c 65 2d 73 76 |(sv drag|gable-sv|
|00001f10| 6d 29 20 72 29 0d 20 20 | 28 65 63 61 73 65 20 28 |m) r). |(ecase (|
|00001f20| 64 72 61 67 2d 62 6f 75 | 6e 64 73 20 73 76 29 0d |drag-bou|nds sv).|
|00001f30| 20 20 20 20 28 3a 63 6f | 6e 74 61 69 6e 65 72 20 | (:co|ntainer |
|00001f40| 28 6d 75 6c 74 69 70 6c | 65 2d 76 61 6c 75 65 2d |(multipl|e-value-|
|00001f50| 62 69 6e 64 20 28 63 2d | 74 6f 70 4c 65 66 74 20 |bind (c-|topLeft |
|00001f60| 63 2d 62 6f 74 52 69 67 | 68 74 29 20 28 76 69 65 |c-botRig|ht) (vie|
|00001f70| 77 2d 67 6c 6f 62 61 6c | 2d 63 6f 72 6e 65 72 73 |w-global|-corners|
|00001f80| 20 28 76 69 65 77 2d 63 | 6f 6e 74 61 69 6e 65 72 | (view-c|ontainer|
|00001f90| 20 73 76 29 29 0d 20 20 | 20 20 20 20 20 20 20 20 | sv)). | |
|00001fa0| 20 20 20 20 20 20 20 20 | 28 70 73 65 74 20 72 20 | |(pset r |
|00001fb0| 3a 52 65 63 74 2e 74 6f | 70 4c 65 66 74 20 63 2d |:Rect.to|pLeft c-|
|00001fc0| 74 6f 70 4c 65 66 74 29 | 0d 20 20 20 20 20 20 20 |topLeft)|. |
|00001fd0| 20 20 20 20 20 20 20 20 | 20 20 20 28 70 73 65 74 | | (pset|
|00001fe0| 20 72 20 3a 52 65 63 74 | 2e 62 6f 74 52 69 67 68 | r :Rect|.botRigh|
|00001ff0| 74 20 63 2d 62 6f 74 52 | 69 67 68 74 29 29 0d 20 |t c-botR|ight)). |
|00002000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 | | (|
|00002010| 6d 75 6c 74 69 70 6c 65 | 2d 76 61 6c 75 65 2d 62 |multiple|-value-b|
|00002020| 69 6e 64 20 28 77 2d 74 | 6f 70 4c 65 66 74 20 77 |ind (w-t|opLeft w|
|00002030| 2d 62 6f 74 52 69 67 68 | 74 29 20 28 76 69 65 77 |-botRigh|t) (view|
|00002040| 2d 67 6c 6f 62 61 6c 2d | 63 6f 72 6e 65 72 73 20 |-global-|corners |
|00002050| 28 76 69 65 77 2d 77 69 | 6e 64 6f 77 20 73 76 29 |(view-wi|ndow sv)|
|00002060| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00002070| 20 20 20 20 28 72 6c 65 | 74 20 28 28 77 52 65 63 | (rle|t ((wRec|
|00002080| 74 20 3a 52 65 63 74 20 | 3a 74 6f 70 4c 65 66 74 |t :Rect |:topLeft|
|00002090| 20 77 2d 74 6f 70 4c 65 | 66 74 20 3a 62 6f 74 52 | w-topLe|ft :botR|
|000020a0| 69 67 68 74 20 77 2d 62 | 6f 74 52 69 67 68 74 29 |ight w-b|otRight)|
|000020b0| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|000020c0| 20 20 20 20 20 20 28 23 | 5f 53 65 63 74 52 65 63 | (#|_SectRec|
|000020d0| 74 20 72 20 77 52 65 63 | 74 20 72 29 29 29 29 0d |t r wRec|t r)))).|
|000020e0| 20 20 20 20 28 3a 77 69 | 6e 64 6f 77 20 20 28 6d | (:wi|ndow (m|
|000020f0| 75 6c 74 69 70 6c 65 2d | 76 61 6c 75 65 2d 62 69 |ultiple-|value-bi|
|00002100| 6e 64 20 28 77 2d 74 6f | 70 4c 65 66 74 20 77 2d |nd (w-to|pLeft w-|
|00002110| 62 6f 74 52 69 67 68 74 | 29 20 28 76 69 65 77 2d |botRight|) (view-|
|00002120| 67 6c 6f 62 61 6c 2d 63 | 6f 72 6e 65 72 73 20 28 |global-c|orners (|
|00002130| 76 69 65 77 2d 77 69 6e | 64 6f 77 20 73 76 29 29 |view-win|dow sv))|
|00002140| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002150| 20 28 70 73 65 74 20 72 | 20 3a 52 65 63 74 2e 74 | (pset r| :Rect.t|
|00002160| 6f 70 4c 65 66 74 20 77 | 2d 74 6f 70 4c 65 66 74 |opLeft w|-topLeft|
|00002170| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00002180| 20 20 28 70 73 65 74 20 | 72 20 3a 52 65 63 74 2e | (pset |r :Rect.|
|00002190| 62 6f 74 52 69 67 68 74 | 20 77 2d 62 6f 74 52 69 |botRight| w-botRi|
|000021a0| 67 68 74 29 29 29 0d 20 | 20 20 20 28 3a 6e 6f 6e |ght))). | (:non|
|000021b0| 65 20 28 70 73 65 74 20 | 72 20 3a 52 65 63 74 2e |e (pset |r :Rect.|
|000021c0| 74 6f 70 4c 65 66 74 20 | 23 40 28 2d 33 32 37 36 |topLeft |#@(-3276|
|000021d0| 38 20 2d 33 32 37 36 38 | 29 29 0d 20 20 20 20 20 |8 -32768|)). |
|000021e0| 20 20 20 20 20 20 28 70 | 73 65 74 20 72 20 3a 52 | (p|set r :R|
|000021f0| 65 63 74 2e 62 6f 74 52 | 69 67 68 74 20 23 40 28 |ect.botR|ight #@(|
|00002200| 33 32 37 36 37 20 33 32 | 37 36 37 29 29 29 29 29 |32767 32|767)))))|
|00002210| 0d 0d 28 64 65 66 6d 65 | 74 68 6f 64 20 73 65 74 |..(defme|thod set|
|00002220| 2d 64 72 61 67 2d 73 6c | 6f 70 2d 72 65 63 74 20 |-drag-sl|op-rect |
|00002230| 28 28 73 76 20 64 72 61 | 67 67 61 62 6c 65 2d 73 |((sv dra|ggable-s|
|00002240| 76 6d 29 20 72 29 0d 20 | 20 20 20 28 73 65 74 2d |vm) r). | (set-|
|00002250| 64 72 61 67 2d 6c 69 6d | 69 74 2d 72 65 63 74 20 |drag-lim|it-rect |
|00002260| 73 76 20 72 29 0d 20 20 | 20 20 28 23 5f 49 6e 73 |sv r). | (#_Ins|
|00002270| 65 74 52 65 63 74 20 72 | 20 20 28 2d 20 28 68 2d |etRect r| (- (h-|
|00002280| 64 72 61 67 2d 73 6c 6f | 70 20 73 76 29 29 20 28 |drag-slo|p sv)) (|
|00002290| 2d 20 28 76 2d 64 72 61 | 67 2d 73 6c 6f 70 20 73 |- (v-dra|g-slop s|
|000022a0| 76 29 29 29 29 0d 0d 28 | 64 65 66 75 6e 20 73 68 |v))))..(|defun sh|
|000022b0| 72 69 6e 6b 2d 77 72 61 | 70 2d 6c 69 6d 69 74 52 |rink-wra|p-limitR|
|000022c0| 65 63 74 20 28 77 68 65 | 72 65 20 64 72 61 67 52 |ect (whe|re dragR|
|000022d0| 67 6e 20 6c 69 6d 69 74 | 52 65 63 74 29 0d 20 20 |gn limit|Rect). |
|000022e0| 28 6c 65 74 20 28 28 68 | 20 28 70 6f 69 6e 74 2d |(let ((h| (point-|
|000022f0| 68 20 77 68 65 72 65 29 | 29 0d 20 20 20 20 20 20 |h where)|). |
|00002300| 20 20 28 76 20 28 70 6f | 69 6e 74 2d 76 20 77 68 | (v (po|int-v wh|
|00002310| 65 72 65 29 29 29 0d 20 | 20 20 20 28 70 73 65 74 |ere))). | (pset|
|00002320| 20 6c 69 6d 69 74 52 65 | 63 74 20 3a 52 65 63 74 | limitRe|ct :Rect|
|00002330| 2e 74 6f 70 20 20 20 20 | 28 2d 20 76 20 28 6d 61 |.top |(- v (ma|
|00002340| 78 20 30 20 28 2d 20 28 | 68 72 65 66 20 64 72 61 |x 0 (- (|href dra|
|00002350| 67 52 67 6e 20 3a 52 65 | 67 69 6f 6e 2e 72 67 6e |gRgn :Re|gion.rgn|
|00002360| 42 42 6f 78 2e 74 6f 70 | 29 0d 20 20 20 20 20 20 |BBox.top|). |
|00002370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002390| 20 20 20 20 20 20 20 20 | 20 20 28 70 72 65 66 20 | | (pref |
|000023a0| 6c 69 6d 69 74 52 65 63 | 74 20 3a 52 65 63 74 2e |limitRec|t :Rect.|
|000023b0| 74 6f 70 29 29 29 29 29 | 0d 20 20 20 20 28 70 73 |top)))))|. (ps|
|000023c0| 65 74 20 6c 69 6d 69 74 | 52 65 63 74 20 3a 52 65 |et limit|Rect :Re|
|000023d0| 63 74 2e 6c 65 66 74 20 | 20 20 28 2d 20 68 20 28 |ct.left | (- h (|
|000023e0| 6d 61 78 20 30 20 28 2d | 20 28 68 72 65 66 20 64 |max 0 (-| (href d|
|000023f0| 72 61 67 52 67 6e 20 3a | 52 65 67 69 6f 6e 2e 72 |ragRgn :|Region.r|
|00002400| 67 6e 42 42 6f 78 2e 6c | 65 66 74 29 0d 20 20 20 |gnBBox.l|eft). |
|00002410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 70 72 | | (pr|
|00002440| 65 66 20 6c 69 6d 69 74 | 52 65 63 74 20 3a 52 65 |ef limit|Rect :Re|
|00002450| 63 74 2e 6c 65 66 74 29 | 29 29 29 29 0d 20 20 20 |ct.left)|)))). |
|00002460| 20 28 70 73 65 74 20 6c | 69 6d 69 74 52 65 63 74 | (pset l|imitRect|
|00002470| 20 3a 52 65 63 74 2e 62 | 6f 74 74 6f 6d 20 28 2b | :Rect.b|ottom (+|
|00002480| 20 76 20 28 6d 61 78 20 | 30 20 28 2d 20 28 70 72 | v (max |0 (- (pr|
|00002490| 65 66 20 6c 69 6d 69 74 | 52 65 63 74 20 3a 52 65 |ef limit|Rect :Re|
|000024a0| 63 74 2e 62 6f 74 74 6f | 6d 29 0d 20 20 20 20 20 |ct.botto|m). |
|000024b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024d0| 20 20 20 20 20 20 20 20 | 20 20 20 28 68 72 65 66 | | (href|
|000024e0| 20 64 72 61 67 52 67 6e | 20 3a 52 65 67 69 6f 6e | dragRgn| :Region|
|000024f0| 2e 72 67 6e 42 42 6f 78 | 2e 62 6f 74 74 6f 6d 29 |.rgnBBox|.bottom)|
|00002500| 29 29 29 29 0d 20 20 20 | 20 28 70 73 65 74 20 6c |)))). | (pset l|
|00002510| 69 6d 69 74 52 65 63 74 | 20 3a 52 65 63 74 2e 72 |imitRect| :Rect.r|
|00002520| 69 67 68 74 20 20 28 2b | 20 68 20 28 6d 61 78 20 |ight (+| h (max |
|00002530| 30 20 28 2d 20 28 70 72 | 65 66 20 6c 69 6d 69 74 |0 (- (pr|ef limit|
|00002540| 52 65 63 74 20 3a 52 65 | 63 74 2e 72 69 67 68 74 |Rect :Re|ct.right|
|00002550| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00002560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002570| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002580| 20 20 28 68 72 65 66 20 | 64 72 61 67 52 67 6e 20 | (href |dragRgn |
|00002590| 3a 52 65 67 69 6f 6e 2e | 72 67 6e 42 42 6f 78 2e |:Region.|rgnBBox.|
|000025a0| 72 69 67 68 74 29 29 29 | 29 29 29 29 0d 0d 3b 3b |right)))|))))..;;|
|000025b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000025c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000025d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000025e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000025f0| 3b 3b 3b 3b 0d 0d 23 7c | 0d 3b 3b 3b 20 61 20 6d |;;;;..#||.;;; a m|
|00002600| 6f 64 65 73 74 20 65 78 | 61 6d 70 6c 65 20 2d 20 |odest ex|ample - |
|00002610| 61 64 64 69 6e 67 20 64 | 72 61 67 20 62 65 68 61 |adding d|rag beha|
|00002620| 76 69 6f 72 20 74 6f 20 | 73 74 61 74 69 63 20 74 |vior to |static t|
|00002630| 65 78 74 20 64 69 61 6c | 6f 67 20 69 74 65 6d 73 |ext dial|og items|
|00002640| 0d 0d 28 64 65 66 63 6c | 61 73 73 20 73 74 64 72 |..(defcl|ass stdr|
|00002650| 67 20 28 64 72 61 67 67 | 61 62 6c 65 2d 73 76 6d |g (dragg|able-svm|
|00002660| 20 73 74 61 74 69 63 2d | 74 65 78 74 2d 64 69 61 | static-|text-dia|
|00002670| 6c 6f 67 2d 69 74 65 6d | 29 20 28 29 29 0d 0d 0d |log-item|) ())...|
|00002680| 28 73 65 74 66 20 2a 74 | 65 73 74 2d 77 2a 0d 20 |(setf *t|est-w*. |
|00002690| 20 20 20 20 20 28 6d 61 | 6b 65 2d 69 6e 73 74 61 | (ma|ke-insta|
|000026a0| 6e 63 65 20 27 64 69 61 | 6c 6f 67 0d 20 20 20 20 |nce 'dia|log. |
|000026b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000026c0| 20 3a 77 69 6e 64 6f 77 | 2d 74 79 70 65 20 3a 64 | :window|-type :d|
|000026d0| 6f 63 75 6d 65 6e 74 0d | 20 20 20 20 20 20 20 20 |ocument.| |
|000026e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3a 76 69 | | :vi|
|000026f0| 65 77 2d 70 6f 73 69 74 | 69 6f 6e 20 3a 63 65 6e |ew-posit|ion :cen|
|00002700| 74 65 72 65 64 0d 20 20 | 20 20 20 20 20 20 20 20 |tered. | |
|00002710| 20 20 20 20 20 20 20 20 | 20 20 20 3a 76 69 65 77 | | :view|
|00002720| 2d 73 69 7a 65 20 23 40 | 28 32 30 30 20 31 30 30 |-size #@|(200 100|
|00002730| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00002740| 20 20 20 20 20 20 20 3a | 77 69 6e 64 6f 77 2d 74 | :|window-t|
|00002750| 69 74 6c 65 20 22 64 72 | 61 67 67 61 62 6c 65 2d |itle "dr|aggable-|
|00002760| 73 76 6d 20 64 65 6d 6f | 22 0d 20 20 20 20 20 20 |svm demo|". |
|00002770| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3a | | :|
|00002780| 63 6c 6f 73 65 2d 62 6f | 78 2d 70 20 74 0d 20 20 |close-bo|x-p t. |
|00002790| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027a0| 20 20 20 3a 63 6f 6c 6f | 72 2d 70 20 74 0d 20 20 | :colo|r-p t. |
|000027b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027c0| 20 20 20 3a 76 69 65 77 | 2d 73 75 62 76 69 65 77 | :view|-subview|
|000027d0| 73 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s. | |
|000027e0| 20 20 20 20 20 20 20 28 | 6c 69 73 74 20 28 6d 61 | (|list (ma|
|000027f0| 6b 65 2d 69 6e 73 74 61 | 6e 63 65 20 27 73 74 64 |ke-insta|nce 'std|
|00002800| 72 67 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |rg. | |
|00002810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3a 76 69 | | :vi|
|00002830| 65 77 2d 70 6f 73 69 74 | 69 6f 6e 20 23 40 28 31 |ew-posit|ion #@(1|
|00002840| 30 20 32 30 29 0d 20 20 | 20 20 20 20 20 20 20 20 |0 20). | |
|00002850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002860| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002870| 3a 64 69 61 6c 6f 67 2d | 69 74 65 6d 2d 74 65 78 |:dialog-|item-tex|
|00002880| 74 20 22 63 68 61 6e 67 | 65 20 6d 79 20 70 6f 73 |t "chang|e my pos|
|00002890| 69 74 69 6f 6e 22 0d 20 | 20 20 20 20 20 20 20 20 |ition". | |
|000028a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028c0| 20 3a 76 69 65 77 2d 6e | 69 63 6b 2d 6e 61 6d 65 | :view-n|ick-name|
|000028d0| 20 3a 69 31 0d 20 20 20 | 20 20 20 20 20 20 20 20 | :i1. | |
|000028e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3a | | :|
|00002900| 64 72 61 67 2d 65 6e 64 | 2d 61 63 74 69 6f 6e 2d |drag-end|-action-|
|00002910| 66 6e 20 23 27 28 6c 61 | 6d 62 64 61 20 28 73 76 |fn #'(la|mbda (sv|
|00002920| 20 64 65 6c 74 61 20 70 | 74 29 0d 20 20 20 20 20 | delta p|t). |
|00002930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002940| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002960| 20 20 20 20 20 20 28 64 | 65 63 6c 61 72 65 20 28 | (d|eclare (|
|00002970| 69 67 6e 6f 72 65 20 70 | 74 29 29 0d 20 20 20 20 |ignore p|t)). |
|00002980| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002990| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029b0| 20 20 20 20 20 20 20 28 | 6f 66 66 73 65 74 2d 76 | (|offset-v|
|000029c0| 69 65 77 2d 70 6f 73 69 | 74 69 6f 6e 20 73 76 20 |iew-posi|tion sv |
|000029d0| 64 65 6c 74 61 29 29 0d | 20 20 20 20 20 20 20 20 |delta)).| |
|000029e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a00| 20 20 3a 64 72 61 67 2d | 62 6f 75 6e 64 73 20 3a | :drag-|bounds :|
|00002a10| 77 69 6e 64 6f 77 0d 20 | 20 20 20 20 20 20 20 20 |window. | |
|00002a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a40| 20 29 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | ). | |
|00002a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 6d | | (m|
|00002a60| 61 6b 65 2d 69 6e 73 74 | 61 6e 63 65 20 27 73 74 |ake-inst|ance 'st|
|00002a70| 64 72 67 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |drg. | |
|00002a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3a 76 | | :v|
|00002aa0| 69 65 77 2d 70 6f 73 69 | 74 69 6f 6e 20 23 40 28 |iew-posi|tion #@(|
|00002ab0| 31 30 20 35 30 29 0d 20 | 20 20 20 20 20 20 20 20 |10 50). | |
|00002ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ad0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ae0| 20 3a 64 69 61 6c 6f 67 | 2d 69 74 65 6d 2d 74 65 | :dialog|-item-te|
|00002af0| 78 74 20 22 64 72 61 67 | 20 6d 65 20 61 6e 79 77 |xt "drag| me anyw|
|00002b00| 68 65 72 65 22 0d 20 20 | 20 20 20 20 20 20 20 20 |here". | |
|00002b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b30| 3a 76 69 65 77 2d 6e 69 | 63 6b 2d 6e 61 6d 65 20 |:view-ni|ck-name |
|00002b40| 3a 69 32 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |:i2. | |
|00002b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3a 64 | | :d|
|00002b70| 69 61 6c 6f 67 2d 69 74 | 65 6d 2d 61 63 74 69 6f |ialog-it|em-actio|
|00002b80| 6e 20 23 27 28 6c 61 6d | 62 64 61 20 28 64 69 29 |n #'(lam|bda (di)|
|00002b90| 20 28 64 65 63 6c 61 72 | 65 20 28 69 67 6e 6f 72 | (declar|e (ignor|
|00002ba0| 65 20 64 69 29 29 20 28 | 65 64 2d 62 65 65 70 29 |e di)) (|ed-beep)|
|00002bb0| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00002bc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 3a 64 72 61 | | :dra|
|00002be0| 67 2d 61 63 74 69 6f 6e | 2d 66 6e 20 23 27 28 6c |g-action|-fn #'(l|
|00002bf0| 61 6d 62 64 61 20 28 64 | 69 29 20 28 64 65 63 6c |ambda (d|i) (decl|
|00002c00| 61 72 65 20 28 69 67 6e | 6f 72 65 20 64 69 29 29 |are (ign|ore di))|
|00002c10| 20 28 65 64 2d 62 65 65 | 70 29 29 0d 20 20 20 20 | (ed-bee|p)). |
|00002c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c40| 20 20 20 20 20 20 3a 64 | 72 61 67 2d 62 6f 75 6e | :d|rag-boun|
|00002c50| 64 73 20 3a 6e 6f 6e 65 | 0d 20 20 20 20 20 20 20 |ds :none|. |
|00002c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c80| 20 20 20 29 29 29 29 0d | 0d 7c 23 00 00 00 00 00 | )))).|.|#.....|
|00002c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 01 00 00 00 01 5a | 00 00 00 5a 00 00 00 46 |.......Z|...Z...F|
|00002d10| 29 0d 28 70 72 6f 76 69 | 64 65 20 3a 64 72 61 67 |).(provi|de :drag|
|00002d20| 67 61 62 6c 65 2d 64 69 | 6d 29 0d 3b 3b 3b 3b 3b |gable-di|m).;;;;;|
|00002d30| 12 64 72 61 67 67 61 62 | 6c 65 2d 73 76 6d 2e 6c |.draggab|le-svm.l|
|00002d40| 69 73 70 6d 02 00 00 00 | 54 45 58 54 43 43 4c 32 |ispm....|TEXTCCL2|
|00002d50| 00 00 54 45 58 54 43 43 | 4c 32 40 00 00 00 00 00 |..TEXTCC|L2@.....|
|00002d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d70| 00 00 a4 c7 08 42 00 00 | 00 00 00 00 01 a0 2d 64 |.....B..|......-d|
|00002d80| 69 6d 2e 4c 69 73 70 0d | 3b 3b 0d 3b 3b 20 43 6f |im.Lisp.|;;.;; Co|
|00002d90| 70 79 72 69 67 68 74 20 | a9 20 31 39 39 31 20 4e |pyright |. 1991 N|
|00002da0| 6f 72 74 68 77 65 73 74 | 65 72 6e 20 55 6e 69 76 |orthwest|ern Univ|
|00002db0| 65 72 73 69 74 79 20 49 | 6e 73 74 69 74 75 74 65 |ersity I|nstitute|
|00002dc0| 20 66 6f 72 20 74 68 65 | 20 4c 65 61 72 6e 69 6e | for the| Learnin|
|00002dd0| 67 20 53 63 69 65 6e 63 | 65 73 0d 3b 3b 20 41 6c |g Scienc|es.;; Al|
|00002de0| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|00002df0| 64 0d 3b 3b 0d 3b 3b 20 | 61 75 74 68 6f 72 3a 20 |d.;;.;; |author: |
|00002e00| 00 00 00 0a 00 01 00 16 | 0a 00 01 00 00 00 00 00 |........|........|
|00002e10| 00 48 00 0a 43 6f 75 72 | 69 65 72 00 00 00 00 00 |.H..Cour|ier.....|
|00002e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e30| 00 00 00 00 00 06 00 08 | 00 a0 00 c4 03 34 02 d1 |........|.....4..|
|00002e40| 00 a0 00 c4 03 34 02 d1 | 00 00 00 00 00 00 12 dd |.....4..|........|
|00002e50| 00 00 12 dd 00 00 0b bc | 01 00 00 00 01 00 00 00 |........|........|
|00002e60| 01 5a 00 00 00 5a 00 00 | 00 46 00 37 d3 2c 08 74 |.Z...Z..|.F.7.,.t|
|00002e70| 00 00 00 1c 00 46 00 01 | 46 52 45 44 00 00 00 12 |.....F..|FRED....|
|00002e80| 4d 50 53 52 00 00 00 1e | 00 02 ff ff 00 00 00 00 |MPSR....|........|
|00002e90| 00 00 00 00 03 ed ff ff | 00 00 00 0e 00 37 fb 84 |........|.....7..|
|00002ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+